package com.letfox.user.service;

import java.util.List;
import java.util.Map;

/**
 * 基本业务操作接口
 * @param <T>
 */
public interface BaseService<T> {

	public int save(T entity);
	
	public int update(T entity);
	
	public int deleteById(Long id);
	
	public int deleteByIds(String ids);
	
	public T getById(Long id);
	
	public List<T> getList(T entity);
	
	public List<T> getList(Map<String, Object> params);
}
